package com.mazihao.emos.db.pojo;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.annotation.Id;

/**
 * 会议表
 * tb_meeting
 * @author mazihao
 */
@Setter
@Getter
@Data
public class TbMeeting implements Serializable {
    @Id
    private Long id;

    private String uuid;

    private String title;

    private Long creatorId;

    private String date;

    private String place;

    private String start;

    private String end;

    private Short type;

    private Object members;

    private String desc;

    private String instanceId;

    private Short status;

    private Date createTime;

    private static final long serialVersionUID = 1L;

    // 无参构造函数
    public TbMeeting() {}

    // 全参构造函数
    public TbMeeting(
            Long id,
            String uuid,
            String title,
            Long creatorId,
            String date,
            String place,
            String start,
            String end,
            Short type,
            Object members,
            String desc,
            String instanceId,
            Short status,
            Date createTime
    ) {
        this.id = id;
        this.uuid = uuid;
        this.title = title;
        this.creatorId = creatorId;
        this.date = date;
        this.place = place;
        this.start = start;
        this.end = end;
        this.type = type;
        this.members = members;
        this.desc = desc;
        this.instanceId = instanceId;
        this.status = status;
        this.createTime = createTime;
    }

}